package com.dy.nygl.service;

import java.util.List;
import java.util.Map;

import com.dy.nygl.pojo.Alerts;

public interface AlertsService {

	public List<Alerts> getAlertsAllList();
	public int getAlertSituationCount();
	public List<Map<String, Object>> getAlertSituation(int begin, int rowsPage);
	
	public int getAlertsCount();
	public List<Alerts> getAlertsByPages(int begin, int rowsPage);
	
	public int getUnAlertsCount();
	public List<Alerts> getUnAlertsByPages(int begin, int rowsPage);
	
	public void updateAlertsStatus(int id);
	public void deleteAlerts(int id) throws Exception;
}
